package com.jinsi.service;

import com.jinsi.pojo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ScStuService {
    //获取全部学生信息
    public List<ScStudent> getStus();
    //根据用户输入信息进行筛选查询
    public List<ScStudent> getStusByLike(
            Integer studentId,
            String studentName,
            String studentIdNumber,
            String studentCreateDate
    );
    //根据用户输入信息进行筛选查询
    public List<ScStudentOperationLog> getStusByLikeIdAndName(@Param("studentId") Integer studentId,
                                                              @Param("studentName") String studentName,
                                                              @Param("status") Integer status
    );
    //新节点接口
    public List<Map<String,Object>> getStudentStandard(String studentId);
    //删除学生信息
    public void delStu(String studentId) throws Exception;
    //修改学生状态
    public void upStuByStatus(ScStudent student) throws Exception;
    //添加学生信息
    public void save(List<ScStudent> cachedDataList);
}
